package CH06.GuessGame;

/**
 * Created by lenovo on 2016/3/27.
 */
import java.util.Scanner;

public class ConsoleGame extends GuessGame{
    private Scanner console = new Scanner(System.in);

    @Override
    public void print(String text) {
        System.out.print(text);

    }

    @Override
    public int nextInt() {
        return console.nextInt();
    }
}
